#include "frame.h"

// set frame.h
Activation_Frame::Activation_Frame() {
	this->functionName = "";
	this->functionAddress = "";
	this->returnAddress = 0;
}

// set frame.h
Activation_Frame::Activation_Frame(string fName, string fAddr, int rAddr) {
	this->functionName = fName;
	this->functionAddress = fAddr;
	this->returnAddress = rAddr;
}

// see frame.h
std::ostream& operator<<(std::ostream& os, const Activation_Frame& frame) {
	os << "Function Name: " << frame.functionName << "  ";
	os << "Function Address: " << frame.functionAddress << "  ";
	os << "Return Address: " << frame.returnAddress;	
    return os;
}